package com.dwaynema.dao;

import com.dwaynema.dto.UserDto;
import com.dwaynema.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface SysUserMapper {
    UserDto userLogin(SysUser sysUser);
    Integer userRegister(SysUser sysUser);
    SysUser userLoginByUsername(String username);
}